import { request } from '@/utils/request';

const Api = {
  add: '/member/deposit/manual',
  dictionaries: '/system/dict/data/type/deposit_type',
};

// 提交
export function add(data: any) {
  return request.post({
    url: Api.add,
    data,
  });
}

// 字典
export function getDictionaries(params: any) {
  return request.get({
    url: Api.dictionaries,
    params,
  });
}
